package com.xmg.design23.d8_decorate;

/**
 * @description: 炒饭类
 * @Author: mazhongqing
 * @Date: 2021/3/31 10:11
 */
public class FriedNoodle extends FastFood{

    public FriedNoodle() {
        super(15,"炒面");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
